<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Event Home Page</title>
<style type="text/css">
body
{
background-color:#FFE4E1;
}
h1
{
color:#800000;
text-align:center;
}
</style>
<script type="text/javascript">
function create(){
	window.location.href="/Events/CreateEvent.jsp";
}

</script>
</head>
<body>

  <h1>Event Home Page</h1>
  <table  align="center">
     <tr>
        <td></td>
        
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="button" value="Create Event" onclick="create()"/></td>
     </tr>
     </table><br>
     <table border="1" align="center">
     <tr>
        <td>eventId1</td>
        <td>eventName</td>
        <td><input type="button" value="Edit"/><input type="button" value="Delete"/></td>
     </tr>
     <tr>
        <td>eventId2</td>
        <td>eventName</td>
        <td><input type="button" value="Edit"/><input type="button" value="Delete"/></td>
     </tr>
     <tr>
        <td>eventId3</td>
        <td>eventName</td>
        <td><input type="button" value="Edit"/><input type="button" value="Delete"/></td>
     </tr><tr>
        <td>eventId4</td>
        <td>eventName</td>
        <td><input type="button" value="Edit"/><input type="button" value="Delete"/></td>
     </tr><tr>
        <td>eventId5</td>
        <td>eventName</td>
        <td><input type="button" value="Edit"/><input type="button" value="Delete"/></td>
     </tr>
  </table>
</body>
</html>